package xyz.showbooks.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import xyz.dfm.pojo.Vip;


import java.util.List;

/**
 * @author: Dsi
 * @date: 2022/2/18 15:38
 * @description:
 */
public interface VipMapper extends BaseMapper<Vip> {
    List<Vip> findVipByUserId(@Param("query") String query, @Param("start") Integer start, @Param("size") Integer size);

    Vip selectId(Integer userId);

    void updateVip(Vip vip);
}
